package pages;

import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.How;
import utils.WebDriverWrapper;

import java.util.concurrent.TimeUnit;

/**
 * Created by sky_lady on 5/26/14.
 */
public class ComputersPage extends BasePage {
    private static final String URL = "http://rozetka.com.ua/computers-notebooks/c80253/";
    private static final By pageLink = By.id("computers-notebooks");

    public ComputersPage(WebDriverWrapper driver) {
        super(driver, URL);
    }

    @Override
    public void open() {
        driver.findElement(pageLink).click();
    }

}
